Neodroid  0.2.1
Machine Learning Environment Prototyping Tool
droid.Runtime.Managers.NeodroidManager Class Reference

More...

Inheritance diagram for droid.Runtime.Managers.NeodroidManager:
Collaboration diagram for droid.Runtime.Managers.NeodroidManager:

Public Member Functions

void StatusString (DataPoller recipient)
 
void Clear ()
 
void ApplyConfigurationToUnity (ISimulatorConfiguration configuration)
 
EnvironmentState [] ReactAndCollectStates (Reaction reaction)
 
void React (Reaction reaction)
 
void React (Reaction[] reactions)
 
EnvironmentState [] CollectStates ()
 
void SetTesting (bool arg0)
 
void ResetAllEnvironments ()
 
string GetStatus ()
 
void Register (IEnvironment environment)
 
void Register (IEnvironment environment, string identifier)
 
void UnRegister (IEnvironment environment, string identifier)
 
void UnRegister (IEnvironment neodroid_environment)
 
- Public Member Functions inherited from droid.Runtime.Interfaces.IHasRegister< IEnvironment >
void Register (T obj)
 
void Register (T obj, string identifier)
 
void UnRegister (T obj)
 
void UnRegister (T t, string obj)
 

Protected Member Functions

void Awake ()
 
void Start ()
 
void FixedUpdate ()
 
IEnumerator EndOfFrameEventGenerator ()
 
void Update ()
 
void LateUpdate ()
 
void OnPreTick ()
 
void OnTick ()
 
void OnPostTick ()
 
void Tick ()
 
void PostReact (EnvironmentState[] states)
 
Reaction [] SampleRandomReactions ()
 
void SetReactionsFromExternalSource (Reaction[] reactions)
 

Protected Attributes

Dictionary< string, IEnvironment_Environments = new Dictionary<string, IEnvironment>()
 
MessageServer _Message_Server
 
Reaction [] _Current_Reactions = { }
 

Properties

static NeodroidManager Instance [get]
 
ISimulatorConfiguration Configuration [get, set]
 
Reaction [] CurrentReactions [get, set]
 
float SimulationTimeScale [get, set]
 
bool HasStepped [get, set]
 
bool TestActuators [get, set]
 
bool Debugging [get, set]
 
bool AwaitingReply [get, set]
 
ISimulatorConfiguration SimulatorConfiguration [get]
 
bool IsSyncingEnvironments [get, set]
 
bool Stepping [get]
 
- Properties inherited from droid.Runtime.Interfaces.IManager
ISimulatorConfiguration SimulatorConfiguration [get]
 
bool IsSyncingEnvironments [get]
 

Events

Action EarlyFixedUpdateEvent
 Can be subscribed to for pre fixed update events (Will be called before any FixedUpdate on any script) More...
 
Action FixedUpdateEvent
 
Action LateFixedUpdateEvent
 
Action EarlyUpdateEvent
 Can be subscribed to for pre update events (Will be called before any Update on any script) More...
 
Action UpdateEvent
 
Action LateUpdateEvent
 
Action OnPostRenderEvent
 
Action OnRenderImageEvent
 
Action OnEndOfFrameEvent
 
Action OnReceiveEvent
 

Detailed Description

Definition at line 24 of file NeodroidManager.cs.

Member Function Documentation

◆ ApplyConfigurationToUnity()

void droid.Runtime.Managers.NeodroidManager.ApplyConfigurationToUnity ( ISimulatorConfiguration  configuration)

Definition at line 398 of file NeodroidManager.cs.

◆ Awake()

void droid.Runtime.Managers.NeodroidManager.Awake ( )
protected

Definition at line 321 of file NeodroidManager.cs.

◆ Clear()

void droid.Runtime.Managers.NeodroidManager.Clear ( )

Definition at line 303 of file NeodroidManager.cs.

◆ CollectStates()

EnvironmentState [] droid.Runtime.Managers.NeodroidManager.CollectStates ( )

Returns

Definition at line 776 of file NeodroidManager.cs.

◆ EndOfFrameEventGenerator()

IEnumerator droid.Runtime.Managers.NeodroidManager.EndOfFrameEventGenerator ( )
protected

Returns

Definition at line 465 of file NeodroidManager.cs.

◆ FixedUpdate()

void droid.Runtime.Managers.NeodroidManager.FixedUpdate ( )
protected

Definition at line 440 of file NeodroidManager.cs.

◆ GetStatus()

string droid.Runtime.Managers.NeodroidManager.GetStatus ( )

Returns

Definition at line 872 of file NeodroidManager.cs.

◆ LateUpdate()

void droid.Runtime.Managers.NeodroidManager.LateUpdate ( )
protected

Definition at line 492 of file NeodroidManager.cs.

◆ OnPostTick()

void droid.Runtime.Managers.NeodroidManager.OnPostTick ( )
protected

Definition at line 527 of file NeodroidManager.cs.

◆ OnPreTick()

void droid.Runtime.Managers.NeodroidManager.OnPreTick ( )
protected

Definition at line 500 of file NeodroidManager.cs.

◆ OnTick()

void droid.Runtime.Managers.NeodroidManager.OnTick ( )
protected

Definition at line 514 of file NeodroidManager.cs.

◆ PostReact()

void droid.Runtime.Managers.NeodroidManager.PostReact ( EnvironmentState []  states)
protected

Parameters
states

Definition at line 584 of file NeodroidManager.cs.

◆ React() [1/2]

void droid.Runtime.Managers.NeodroidManager.React ( Reaction  reaction)

Parameters
reaction
Returns

Definition at line 721 of file NeodroidManager.cs.

◆ React() [2/2]

void droid.Runtime.Managers.NeodroidManager.React ( Reaction []  reactions)

Parameters
reactions
Returns

Definition at line 748 of file NeodroidManager.cs.

◆ ReactAndCollectStates()

EnvironmentState [] droid.Runtime.Managers.NeodroidManager.ReactAndCollectStates ( Reaction  reaction)

Parameters
reaction
Returns

Definition at line 683 of file NeodroidManager.cs.

◆ Register() [1/2]

void droid.Runtime.Managers.NeodroidManager.Register ( IEnvironment  environment)

Parameters
environment

Definition at line 888 of file NeodroidManager.cs.

◆ Register() [2/2]

void droid.Runtime.Managers.NeodroidManager.Register ( IEnvironment  environment,
string  identifier 
)

Parameters
environment
identifier

Definition at line 895 of file NeodroidManager.cs.

◆ ResetAllEnvironments()

void droid.Runtime.Managers.NeodroidManager.ResetAllEnvironments ( )

Definition at line 860 of file NeodroidManager.cs.

◆ SampleRandomReactions()

Reaction [] droid.Runtime.Managers.NeodroidManager.SampleRandomReactions ( )
protected

Returns

Definition at line 625 of file NeodroidManager.cs.

◆ SetReactionsFromExternalSource()

void droid.Runtime.Managers.NeodroidManager.SetReactionsFromExternalSource ( Reaction []  reactions)
protected

Parameters
reactions

Definition at line 957 of file NeodroidManager.cs.

◆ SetTesting()

void droid.Runtime.Managers.NeodroidManager.SetTesting ( bool  arg0)

Definition at line 820 of file NeodroidManager.cs.

◆ Start()

void droid.Runtime.Managers.NeodroidManager.Start ( )
protected

Definition at line 351 of file NeodroidManager.cs.

◆ StatusString()

void droid.Runtime.Managers.NeodroidManager.StatusString ( DataPoller  recipient)

Definition at line 149 of file NeodroidManager.cs.

◆ Tick()

void droid.Runtime.Managers.NeodroidManager.Tick ( )
protected

Definition at line 564 of file NeodroidManager.cs.

◆ UnRegister() [1/2]

void droid.Runtime.Managers.NeodroidManager.UnRegister ( IEnvironment  environment,
string  identifier 
)

Parameters
environment
identifier

Definition at line 914 of file NeodroidManager.cs.

◆ UnRegister() [2/2]

void droid.Runtime.Managers.NeodroidManager.UnRegister ( IEnvironment  neodroid_environment)

Parameters
neodroid_environment

Definition at line 929 of file NeodroidManager.cs.

◆ Update()

void droid.Runtime.Managers.NeodroidManager.Update ( )
protected

Definition at line 485 of file NeodroidManager.cs.

Member Data Documentation

◆ _Current_Reactions

Reaction [] droid.Runtime.Managers.NeodroidManager._Current_Reactions = { }
protected

Definition at line 311 of file NeodroidManager.cs.

◆ _Environments

Dictionary<string, IEnvironment> droid.Runtime.Managers.NeodroidManager._Environments = new Dictionary<string, IEnvironment>()
protected

Definition at line 299 of file NeodroidManager.cs.

◆ _Message_Server

MessageServer droid.Runtime.Managers.NeodroidManager._Message_Server
protected

Definition at line 307 of file NeodroidManager.cs.

Property Documentation

◆ AwaitingReply

bool droid.Runtime.Managers.NeodroidManager.AwaitingReply
getset

Definition at line 267 of file NeodroidManager.cs.

◆ Configuration

ISimulatorConfiguration droid.Runtime.Managers.NeodroidManager.Configuration
getset

Definition at line 32 of file NeodroidManager.cs.

◆ CurrentReactions

Reaction [] droid.Runtime.Managers.NeodroidManager.CurrentReactions
getset

Definition at line 207 of file NeodroidManager.cs.

◆ Debugging

bool droid.Runtime.Managers.NeodroidManager.Debugging
getset

Definition at line 254 of file NeodroidManager.cs.

◆ HasStepped

bool droid.Runtime.Managers.NeodroidManager.HasStepped
getset

Definition at line 243 of file NeodroidManager.cs.

◆ Instance

NeodroidManager droid.Runtime.Managers.NeodroidManager.Instance
staticget

Definition at line 28 of file NeodroidManager.cs.

◆ IsSyncingEnvironments

bool droid.Runtime.Managers.NeodroidManager.IsSyncingEnvironments
getset

Definition at line 284 of file NeodroidManager.cs.

◆ SimulationTimeScale

float droid.Runtime.Managers.NeodroidManager.SimulationTimeScale
getset

Definition at line 222 of file NeodroidManager.cs.

◆ SimulatorConfiguration

ISimulatorConfiguration droid.Runtime.Managers.NeodroidManager.SimulatorConfiguration
get

Definition at line 280 of file NeodroidManager.cs.

◆ Stepping

bool droid.Runtime.Managers.NeodroidManager.Stepping
get

Definition at line 291 of file NeodroidManager.cs.

◆ TestActuators

bool droid.Runtime.Managers.NeodroidManager.TestActuators
getset

Definition at line 247 of file NeodroidManager.cs.

Event Documentation

◆ EarlyFixedUpdateEvent

Action droid.Runtime.Managers.NeodroidManager.EarlyFixedUpdateEvent

Can be subscribed to for pre fixed update events (Will be called before any FixedUpdate on any script)

Definition at line 46 of file NeodroidManager.cs.

◆ EarlyUpdateEvent

Action droid.Runtime.Managers.NeodroidManager.EarlyUpdateEvent

Can be subscribed to for pre update events (Will be called before any Update on any script)

Definition at line 59 of file NeodroidManager.cs.

◆ FixedUpdateEvent

Action droid.Runtime.Managers.NeodroidManager.FixedUpdateEvent

Definition at line 50 of file NeodroidManager.cs.

◆ LateFixedUpdateEvent

Action droid.Runtime.Managers.NeodroidManager.LateFixedUpdateEvent

Definition at line 54 of file NeodroidManager.cs.

◆ LateUpdateEvent

Action droid.Runtime.Managers.NeodroidManager.LateUpdateEvent

Definition at line 67 of file NeodroidManager.cs.

◆ OnEndOfFrameEvent

Action droid.Runtime.Managers.NeodroidManager.OnEndOfFrameEvent

Definition at line 79 of file NeodroidManager.cs.

◆ OnPostRenderEvent

Action droid.Runtime.Managers.NeodroidManager.OnPostRenderEvent

Definition at line 71 of file NeodroidManager.cs.

◆ OnReceiveEvent

Action droid.Runtime.Managers.NeodroidManager.OnReceiveEvent

Definition at line 83 of file NeodroidManager.cs.

◆ OnRenderImageEvent

Action droid.Runtime.Managers.NeodroidManager.OnRenderImageEvent

Definition at line 75 of file NeodroidManager.cs.

◆ UpdateEvent

Action droid.Runtime.Managers.NeodroidManager.UpdateEvent

Definition at line 63 of file NeodroidManager.cs.


The documentation for this class was generated from the following file: