TCVmeAccess<_HVPSUControl> HVPSUControl(constHVPSUControlBlock);
_HVPSUControl hvpsu = HVPSUControl.get(); // works - but not as nice as...
int a = HVPSUControl2.get().OperationalRequestPort; // works - but...
int b = HVPSUControl->a; // works, and is all the nicest for reads, good so far
// writes are my question :-
HVPSUControl.set(hvpsu); // works, but need a _HVPSUControl type!
HVPSUControl->a = 1; // this line does not work!

I want the assignment of the struct member to go through the set method in the template class?

Because my writes have to be Read/Modify/Write, I have to do this this code in-line everywhere on assignments :-

Code:

// HVPSUControl is predefined and used many times.
_HVPSUControl hvpsu;
hvpsu.a = 1;
HVPSUControl.set(hvpsu);
// This would save on those lines (and I can also perform extra logic in my template)
HVPSUControl.a = 1;