Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BatteryOperations Members

BatteryOperations Members

Microsoft Robotics
Microsoft Robotics Class Reference

The BatteryOperations type exposes the following members.

  Name Description
Public method BatteryOperations
Initializes a new instance of the BatteryOperations class

  Name Description
Protected method AllocatePort<(Of <<'(TYPE>)>>)
Allocates a Port instance of the specified type
(Inherited from PortSet.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Post(T0)
Enqueues a message instance
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public method PostUnknownType
Untyped post of a message.
(Inherited from PortSet.)
Public method Test<(Of <<'(T>)>>)
Atomically removes a message from the port, or returns null if none present
(Inherited from PortSet.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method TryPostUnknownType
Attempts unsafe (untyped) post of a message instance.

Use to avoid possible exception thrown if message type is incompatible with the port
(Inherited from PortSet.)

  Name Description
Protected field ModeInternal
PortSet operation mode
(Inherited from PortSet.)
Protected field PortsTable
Table of typed ports
(Inherited from PortSet.)
Protected field SharedPortInternal
Shared port instance
(Inherited from PortSet.)
Protected field Types
Types supported by this port set
(Inherited from PortSet.)

  Name Description
Public property Item
Returns the port instance used to store items of specified type
(Inherited from PortSet.)
Public property Mode
Port operation mode
(Inherited from PortSet.)
Public property P0
Returns the port 0th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P1
Returns the port 1th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P2
Returns the port 2th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P3
Returns the port 3th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P4
Returns the port 4th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P5
Returns the port 5th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property P6
Returns the port 6th port in this collection.

Index is 0-based.
(Inherited from PortSet<(Of <(<'T0, T1, T2, T3, T4, T5, T6>)>)>.)
Public property Ports
Array of single queue ports for each generic type in this port instance

If the mode of operation is PortSetMode.SharedPort, the single shared port instance is returned
(Inherited from PortSet.)
Public property SharedPort
Shared port instance for all generic type arguments of this instance

Valid if the mode of operation is PortSetMode.SharedPort, null otherwise
(Inherited from PortSet.)
Show:
© 2015 Microsoft